package com.tempjob.common.businesss.mongo.entity;

import com.anwen.mongo.annotation.ID;
import com.anwen.mongo.annotation.collection.CollectionField;
import com.anwen.mongo.enums.IdTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author hui
 * @Date 2024/12/2 21:09
 **/
@Data
@ApiModel("工作申请记录")
public class JobApplyRecord {

    @ID(type = IdTypeEnum.OBJECT_ID)
    @CollectionField("_id")
    @ApiModelProperty("id")
    private String id;

    @CollectionField("job_id")
    @ApiModelProperty("工作id")
    private String jobId;

    @CollectionField("job_type")
    @ApiModelProperty("工作类型:1零工2正式工3就业基地招聘")
    private Integer jobType;

    @CollectionField("job_category")
    @ApiModelProperty("工作分类")
    private String jobCategory;

    @CollectionField("job_title")
    @ApiModelProperty("标题")
    private String jobTitle;

    @CollectionField("user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @CollectionField("apply_status")
    @ApiModelProperty("申请状态：1已申请2不合适3已录用4已删除")
    private Integer applyStatus;

    @CollectionField("apply_time")
    @ApiModelProperty("申请时间")
    private Date applyTime;

    @CollectionField("contact_time")
    @ApiModelProperty("联系时间")
    private Date contactTime;

    @CollectionField("work_time")
    @ApiModelProperty("工作时间(零工)")
    private List<String> workDates;

    @CollectionField("check_time")
    @ApiModelProperty("查看时间")
    private Date checkTime;

    @CollectionField("confirm_time")
    @ApiModelProperty("确认时间")
    private Date confirmTime;

}
